//
//  ScanQRViewController.h
//  LOU
//
//  Created by iMacOne on 15/11/10.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "RootViewController.h"
#import <AVFoundation/AVFoundation.h>
@protocol ScanQRCodeViewDelegate <NSObject>

- (void)scanResult:(NSString *)result;

@end

@interface ScanQRViewController : RootViewController<AVCaptureMetadataOutputObjectsDelegate>

@property (nonatomic, strong) NSString * titleText;
@property (nonatomic, strong) NSString * tipsText;
@property (nonatomic, strong) UIView * scannerView;
@property (nonatomic, strong) UIImageView * middleLine;
@property (nonatomic, strong) NSTimer * timer;
@property (nonatomic, assign) id<ScanQRCodeViewDelegate>delegate;

@end
